[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
Function wherev - Y-coordinate of cursor
Syntax int wherev(void);
Prototype in video.h
Remarks returns the Y-coordinate (row) of the cursor's
current location via INT 0x10, Service 3.
Return value returns the Y-coordinate of the cursor's current
location.
See also gotohv(), read_cursor(), whereh()
Example #include <video.h>
main()
{
printf("Cursor's row = %d\n",wherev());
}
Program output Cursor's row = 4
See Also:
gotohv()
read_cursor()
whereh()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson